package com.a2j.web.car.mapper;

import com.a2j.beans.car.CarSpecification;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Author: bzb
 * Data: 2021/10/29 18:35
 * Desc: 车规
 */
@Mapper
public interface CarSpecificationMapper {

    // 根据主键删除车规
    int deleteCarSpec(Integer id);

    // 新增车规
    int addCarSpec(CarSpecification record);

    // 修改车规
    int updateCarSpec(CarSpecification record);

    // 车规详情
    CarSpecification getCarSpecDetail(Integer id);

    // 所有车规
    List<CarSpecification> getAllCarSpecs();
}